/*
 * Menu。java
 *
 * Created Date: 2014年12月5日
 *				
 * Copyright (c)  Centling Technologies Co., Ltd.
 *
 * This software is the confidential and proprietary information of
 *  Centling Technologies Co., Ltd. ("Confidential Information"). You shall not
 * disclose such Confidential Information and shall use it only in accordance
 * with the terms of the license agreement you entered into with
 * Centling Technologies Co., Ltd.
 */

package com.centling.bluecollar.privilege.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * @author hellsing
 * @version  <br>
 * <p>类的描述</p>
 */
@Entity
@Table(name="t_menu")
public class Menu implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String menuid;
	private String menuname;
	private String url;
	private String icon;
	private String pid;
	private String isParent;
	private String type;
	/**
	 * @return the menuid
	 */
	@GenericGenerator(name = "idGenerator", strategy = "uuid")
	@Id
	@GeneratedValue(generator = "idGenerator")
	@Column(name = "menuid", unique = true, nullable = false, length = 50)
	public String getMenuid() {
	
		return menuid;
	}
	
	/**
	 * @param menuid the menuid to set
	 */
	public void setMenuid(String menuid) {
	
		this.menuid = menuid;
	}
	
	/**
	 * @return the menuname
	 */
	public String getMenuname() {
	
		return menuname;
	}
	
	/**
	 * @param menuname the menuname to set
	 */
	public void setMenuname(String menuname) {
	
		this.menuname = menuname;
	}
	
	/**
	 * @return the url
	 */
	public String getUrl() {
	
		return url;
	}
	
	/**
	 * @param url the url to set
	 */
	public void setUrl(String url) {
	
		this.url = url;
	}
	
	/**
	 * @return the icon
	 */
	public String getIcon() {
	
		return icon;
	}
	
	/**
	 * @param icon the icon to set
	 */
	public void setIcon(String icon) {
	
		this.icon = icon;
	}

	
	/**
	 * @return the pid
	 */
	public String getPid() {
	
		return pid;
	}

	
	/**
	 * @param pid the pid to set
	 */
	public void setPid(String pid) {
	
		this.pid = pid;
	}

	
	/**
	 * @return the isParent
	 */
	public String getIsParent() {
	
		return isParent;
	}

	
	/**
	 * @param isParent the isParent to set
	 */
	public void setIsParent(String isParent) {
	
		this.isParent = isParent;
	}

	
	/**
	 * @return the type
	 */
	public String getType() {
	
		return type;
	}

	
	/**
	 * @param type the type to set
	 */
	public void setType(String type) {
	
		this.type = type;
	}
	
}
